/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package banco_imobiliario.AbstractFactoryLogradouro;

import banco_imobiliario.model.Logradouro;
import banco_imobiliario.model.LogradouroImpostoDeRenda;

/**
 *
 * @author Andre
 */
public class LogradouroImpostoDeRendaFactory implements LogradouroFactory{

    @Override
    public Logradouro criarLogradouro(int indice) {
        LogradouroImpostoDeRenda impostoDeRenda =  new LogradouroImpostoDeRenda();
        impostoDeRenda.setIndice(indice);
        impostoDeRenda.setNome("Imposto de Renda");
        return impostoDeRenda;
    }
    
}
